package myabstract;

public class Test {
    public static void main(String[] args) {
//        Animal animal= new Animal() {
//            @Override
//            public void sleep() {
//
//            }
//        };
        Animal cat = new Cat();
        cat.sleep();
        Animal h = new HaShiQi();
        h.walk();
    }
}
